﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcEngine.Gallery.Models;
using MvcEngine.Core.Pagination;

namespace MvcEngine.Gallery.Managers
{
    public interface IGalleryCategoryManager
    {
        IList<GalleryCategory> GetAllByGallery(Guid galleryId);

        IList<GalleryCategory> GetAllByImage(Guid imageId);

        GalleryCategory Get(Guid id);

        GalleryCategory Get(string name, Guid galleryId);

        void Save(GalleryCategory image);

        void Delete(Guid id);

        IPagination<GalleryCategory> Get(Guid galleryId, int pageIndex, int pageSize);
    }
}
